/*************************************************
  * 描述：容器菜单项类
  *
  * File：cxicontextmenuitem.h
  * Author：dongyao@mozihealthcare.cn
  * Date：2025/10/9
  * Update：
  * ************************************************/

#ifndef CXICONTEXTMENUITEM_H
#define CXICONTEXTMENUITEM_H
#include <QAction>
#include <controls/export.h>
class CxiContextMenuItemPrivate;
class CXI_CONTROLS_EXPORT CxiContextMenuItem : public QAction
{
	Q_OBJECT
public:
	explicit CxiContextMenuItem(QObject* parent = nullptr);
	CxiContextMenuItem(const QString& text, QObject* parent = nullptr);
	CxiContextMenuItem(const QIcon& icon, const QString& text, QObject* parent = nullptr);
	~CxiContextMenuItem() override;

private:
	Q_DECLARE_PRIVATE(CxiContextMenuItem)
	QScopedPointer<CxiContextMenuItemPrivate> d_ptr;
};


#endif//CXICONTEXTMENUITEM_H
